package com.ykc.spring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//添加到类上
@Target(ElementType.TYPE)
//整个运行过程中都存在
@Retention(RetentionPolicy.RUNTIME)
public @interface Controller {
    String value() default "";
}
